namespace com.tc.gateway.device
{
    using System.Collections.Generic;
    abstract public class AbstractDevice : Device
    {

        DeviceConfig config;
        public DeviceConfig getConfig()
        {
            return config;
        }
        public void setConfig(DeviceConfig config)
        {
            this.config = config;
        }
        public string getName()
        {

            return config.getName();
        }
        public void setName(string name)
        {
            config.setName(name);
        }
        abstract public string getId();
        abstract public string getType();
        abstract public void action();

        abstract public void read(List<short> attribs);
        abstract public object getAttribute(short cluster, short attr);
        abstract public string description();


    }
}

